/*
 * $Id$
 */
package corejs.expr;

import corejs.rt.ActivationRecord;
import corejs.rt.Bool;

import corejs.util.XmlPrinter;

/**
 *
 * @author myang
 */
public class AndExpr extends BinaryOperatorExpr {

   public AndExpr(final Expression left, final Expression right) {
      super(left, right);
   }

   @Override
   public void print(final XmlPrinter printer) {
   }

   @Override
   public Object eval(final ActivationRecord scope) {
      return null;
   }

   @Override
   public Bool accept(final ExpressionVisitor visitor) {
      return visitor.visitAnd(_left, _right);
   }
   
}
